package com.supreme.studyserver.component.event;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextStartedEvent;
import org.springframework.lang.NonNull;
import org.springframework.stereotype.Component;

@Component
public class ContextStartedListener implements ApplicationListener<ContextStartedEvent> {
    @Override
    public void onApplicationEvent(@NonNull ContextStartedEvent contextStartedEvent) {
        System.out.println("contextStartedEvent");
    }
}
